package com.joysuch.wwyt.list.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.list.bean.*;
import com.joysuch.wwyt.list.entity.BpListBiz;
import com.baomidou.mybatisplus.extension.service.IService;
import com.joysuch.wwyt.list.entity.BpListBizWork;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoying
 * @since 2021-05-17
 */
public interface BpListBizService extends IService<BpListBiz> {

    ResultBean save(BpListBizEditBean bean);

    BpListBizDetailBean getDetailById(Long id);

    int deleteById(Long id);

    public IPage<BpListBizListBean> pageAll(Page<BpListBizListBean> page, BpListBizQueryBean queryBean);

    public IPage<BpListBizListBean> myPage(Page<BpListBizListBean> page, BpListBizQueryBean queryBean);

    ResultBean saveUploadWork(BpListBizUploadWorkEditBean bean);

    IPage<BpListBizUploadWorkBean> workPageAll(Page<BpListBizUploadWorkBean> page, BpListBizWorkQueryBean queryBean);

    BpListBizWorkDetailBean getDetailByWorkId(Long id);

    List<BpListBizUploadWorkBean> findPage(BpListBizWorkQueryBean queryBean);
}


